This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~Emile Fezresatherflar 11.Mar.03 04:03 AM a Web browser General6.0.1Windows 2000
I have one form that when I attempt to submit an edit on the web I get "Submit is not a function" in Netscape and "Object doesn't support this property or method" from IE.
I have several other forms that work fine in this database.
Here is the code from the page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Photo</title><link rel="stylesheet" type="text/css" href="/cbordeleau/domGal.nsf/css/embedded_style.css.default">
<link rel="stylesheet" type="text/css" href="/cbordeleau/domGal.nsf/css/standalone_style.css.default">
<script language="JavaScript" type="text/javascript">
<!--
document._domino_target = "_self";
function _doClick(v, o, t, h) {
var form = document._Photo;
if (form.onsubmit) {
var retVal = form.onsubmit();
if (typeof retVal == "boolean" && retVal == false)
return false;
}
var target = document._domino_target;
if (o.href != null) {
if (o.target != null)
target = o.target;
} else {
if (t != null)
target = t;
}
form.target = target;
form.__Click.value = v;
if (h != null)
form.action += h;
form.submit();
return false;
}
// -->
</script>
</head>
<body text="#000000" bgcolor="#FFFFFF">
<form method="post" action="/cbordeleau/domGal.nsf/photo_edit/030850439013?EditDocument&Seq=1&action=caption" name="_Photo">
<input type="hidden" name="__Click" value="0">
<input type="hidden" name="%%ModDate" value="85256CE60011C0B5"><br>
<font face="Arial"> </font><script language="JavaScript" type="text/javascript">
var js_top_albums = '5';
var js_Gallery_Name = 'Beth n Chrisâs Web Gallery';
var js_Gallery_Page_Num = '6';
var js_Gallery_Pages = '1';
var js_Album_Images_Accross = '4';
</SCRIPT><font face="Verdana"> </font><div align="center"><br>
Enter a caption for this picture in the text box below.<br><br>
<p><img src="/cbordeleau/domGal.nsf/photos/FDF5FC87F58C4E7285256CE5004C1834/$file/TNXX_AUT_2162.jpg?openelement" ALT=Photo><br><br><br>
<p>
<input name="Title" value="Photo"><br>
<font face="Verdana">Enter "keywords" for this photo in the text box below.</font><br>
I have compared this code to other forms that work fine and I can not see what the difference is.
I have used:
<input type="button" onclick="submit();" value="Submit">
and
<input type="button" onclick="document.forms[0].onsubmit()" value="Submit">
and neither work.
I think this is some type of brower problem. The errors are javascript error and the submit never goes to the server.